home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / wamerican.postrm < prev    next >
Text File  |  2008-07-04  |  678b  |  29 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # wamerican can be installed standalone, with no dictionaries-common,
  6. # so use remove-default-wordlist if present and do not complain
  7. # otherwise
  8.  
  9. rmscript="/usr/sbin/remove-default-wordlist"
  10.  
  11. case "$1" in abort-install|remove)
  12.     if [ -x $rmscript ]; then
  13.         $rmscript wamerican
  14.     fi
  15.         # Remove shared question stuff on package removal, not only on purge
  16.     if [ -e /usr/share/debconf/confmodule ]; then
  17.         . /usr/share/debconf/confmodule
  18.         db_purge
  19.     fi
  20. esac
  21.  
  22. # Automatically added by dh_installdebconf
  23. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  24.     . /usr/share/debconf/confmodule
  25.     db_purge
  26. fi
  27. # End automatically added section
  28.  
  29.